package com.sysmind.ravi.margin.service;

import java.util.List;

import com.sysmind.ravi.margin.model.Order;
import com.sysmind.ravi.margin.model.Stock;
import com.sysmind.ravi.margin.model.User;

public interface OrderService 
{	boolean addOrder(Order order, Stock stock, User user);

	List <Order> getAllOrders(User user);

	List <Order> getAllOrders(User user, Stock stock);

	public int getNumRows(User user, Stock stock);
	
	public int getNumRows(User user);
}
